﻿@model sgp.Models.Paroquia

@{
    ViewBag.Title = "Deletar Dados de Paroquia";
}



<fieldset>
    <legend><b> Deletar Paroquia</b></legend>

    <table border="1" width="50%" cellpadding="5">
        <tr>
            <td>
                <div class="display-label"><b>Nome: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Nome)
                </div>
            </td>
        </tr>
        
        <tr>
            <td>
                <div class="display-label"><b>CNPJ: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Cnpj)
                </div>
            </td>
        </tr>
        
        <tr>
            <td>
                <div class="display-label"><b>Endereço: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Endereco.Rua)
                </div>
            </td>
        </tr>

         <tr>
            <td>
                <div class="display-label"><b>Nº: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Endereco.Numero)
                </div>
            </td>
        </tr>

        <tr>
            <td>
                <div class="display-label"><b>Complemento: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Endereco.Complemento)
                </div>
            </td>
        </tr>

        <tr>
            <td>
                <div class="display-label"><b>Bairro: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Endereco.Bairro)
                </div>
            </td>
        </tr>

        </tr>
        <tr>
            <td>
                <div class="display-label"><b>Cidade: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Endereco.Cidade)
                </div>
            </td>
        </tr>

        <tr>
            <td>
                <div class="display-label"><b>Estado: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Endereco.Estado)
                </div>
            </td>
        </tr>

        <tr>
            <td>
                <div class="display-label"><b>Cep: </b></div>
            </td>
            <td>
                <div class="display-field">
                @Html.DisplayFor(model => model.Endereco.Cep)
                </div>
            </td>
        </tr>
        
    </table>
    <br />
    <table border="0" width="10%" cellpadding="3">
        @using (Html.BeginForm())
    {

        <tr>
            <th>
                 <input class="btn btn-danger btn-danger btn-small" type="submit" value="Deletar" onclick="return confirm('Tem certeza de que quer apagar este?');"/>
            </th>
            <th>
                <a class="btn btn-inverse btn-small" href="/Paroquia/Index" data-original-title="">Voltar</a>
            </th>
        </tr>
    }
    </table>